import { Entity, PrimaryColumn } from 'typeorm';

@Entity({ name: 'sys_perm_page' })
export class PermWidthMenuEntity {
  @PrimaryColumn({ name: 'perm_id', type: 'int', comment: '权限id' })
  permId: number;

  @PrimaryColumn({ name: 'page_id', type: 'varchar', comment: '页面id', length: 36 })
  pageId: string;
}
